//
//  ICGtasksModel.h
//  ICome
//
//  Created by zhangrongwu on 16/6/6.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum {
    TodoStatus_Normal = 0, // 未办
    TodoStatus_Confirm = 1, // 同意
    TodoStatus_Reject = 2, // 驳回
}todoStatus;

@interface ICGtasksModel : NSObject
// appid
@property (nonatomic, strong)NSString *msgId; // msgid
@property (nonatomic, strong)NSString *fr; // 消息来源
@property (nonatomic, strong)NSString *lastTitle; // 最后一条消息
@property (nonatomic, strong)NSString *appUrl; // 查看”时的 appurl
@property (nonatomic, assign)NSInteger st; // st时间
@property (nonatomic, strong)NSString *status; // 状态
@property (nonatomic, strong)NSString *msgto; // 目标组
@property (nonatomic, strong)NSString *txt; // 待办文本内容
@property (nonatomic, strong)NSString *type; // 消息类型
@property (nonatomic, assign)NSInteger hide;


/******* 内容 ********/
@property (nonatomic, strong)NSString *title;
@property (nonatomic, strong)NSString *summary;
@property (nonatomic, strong)NSString *confirmurl;// 确认点击的url
@property (nonatomic, strong)NSString *rejecturl; // 驳回点击的url
@property (nonatomic, strong)NSString *openurl; // 查看详细打开的连接

-(NSString *)_createDate;
- (instancetype)initWithDict:(NSDictionary *)dict;
- (NSString *)appendUserInfoforJSURL:(NSString *)URL msgId:(NSString *)msgId;
@end
